package site.thatime.hyts.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import site.thatime.hyts.mapper.PdaProviderMapper;
import site.thatime.hyts.model.PdaProvider;

@Service
public class PdaProviderService extends AbstractService<PdaProvider> {
	@Resource
	private PdaProviderMapper pdaProviderMapper;

	@Override
	public PdaProvider fetch(String id) {
		return pdaProviderMapper.fetch(id);
	}

	public List<PdaProvider> getAll() {
		return pdaProviderMapper.selectAll();
	}

}
